/**
 * 
 */
package gr.nouki.socialparkingfinder.database.domain;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @author npapadopoulos
 * 
 */
@DatabaseTable(tableName = "brand")
public class Brand {

	public Brand() {
		// ORMLite needs a no-arg constructor
	}
	
	@DatabaseField(generatedId = true)
	private Long id;

	@DatabaseField(canBeNull = false)
	private String description;

	@DatabaseField(canBeNull = false)
	private String type;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("id=").append(id);
		sb.append(", ").append("description=").append(description);
		sb.append(", ").append("type=").append(type);
		return sb.toString();
	}
}